default_platform(:ios)

platform :ios do
  lane :beta do |options|
    xcode_select("/Applications/Xcode13.4.1.app")
    gym(
        scheme: "wanjiaExpress",
        configuration: options[:configuration],
        clean: true,
        silent: true,
        output_directory: "./ipa",
        output_name: "kdcs.ipa",
        export_options:"fastlane/ExportOptions.plist",
        export_method: "enterprise",
        include_bitcode: false,
        include_symbols: true,
        xcargs: "-UseNewBuildSystem=NO"
    )
  end
end
